package com.like.network;

import com.like.entity.CourseInfo;
import com.like.entity.DocListReq;
import com.like.entity.DocListResp;
import com.like.entity.GeneralResponse;
import com.like.entity.GetCourseListReq;
import com.like.entity.GetCourseListResp;
import com.like.entity.GetCourseReq;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface WindowService {

    @FormUrlEncoded
    @POST("open/Doctorslist/1.cshtml")
    Call<GeneralResponse<DocListResp>> getDocList(@Field("MsgID") String msgId, @Field("Secret") String secret, @Field("Data") DocListReq docListReq);

    @FormUrlEncoded
    @POST("open/expertsinformation/1.cshtml")
    Call<GeneralResponse<GetCourseListResp>> getCourseList(@Field("MsgID") String msgId, @Field("Secret") String secret, @Field("Data") GetCourseListReq getCourseListReq);

    @FormUrlEncoded
    @POST("open/expertinformation/1.cshtml")
    Call<GeneralResponse<CourseInfo>> getCourseDetail(@Field("MsgID") String msgId, @Field("Secret") String secret, @Field("Data") GetCourseReq getCourseReq);

}
